package com.tanjie.blackbean.system.admin.model.permission;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author tanjie
 * @since 2022-04-21
 */
@Data
@Schema(name = "PermissionVO", description = "权限表")
public class PermissionVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 主键
    */
    @Schema(description = "主键")
    private String id;

    /**
    * 权限名称
    */
    @Schema(description = "权限名称")
    private String name;

    /**
    * 菜单模块id
    */
    @Schema(description = "菜单模块id")
    private String menuId;

    /**
    * 客户端类型
    */
    @Schema(description = "客户端类型")
    private Integer clientType;

    /**
    * 接口权限标识
    */
    @Schema(description = "接口权限标识")
    private String apiPerm;

    /**
    * 按钮权限标识
    */
    @Schema(description = "按钮权限标识")
    private String btnPerm;

    /**
    * 创建时间
    */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
    * 更新时间
    */
    @Schema(description = "更新时间")
    private Date updateTime;

    /**
    * 创建人
    */
    @Schema(description = "创建人")
    private String createBy;

    /**
    * 修改人
    */
    @Schema(description = "修改人")
    private String updateBy;

}
